package com.yanming.demo.core.response;

import lombok.Data;

@Data
public class RestResult<T> extends RestResultBase{

    private T data;

    public RestResult(int code, String msg) {
        super(code, msg);
    }

    public RestResult(int code, String msg,T data) {
        super(code, msg);
        this.data=data;
    }
}
